<br />
<p class='text-center lead'>查询结果</p>

<script language="JavaScript" type="text/javascript" src="http://192.168.1.70/JS/jquery.tablesorter.js"></script>
<p>要查询的代码是：{code}</p>
<table class='table table-striped table-bordered' id = 'mytable'>
	<thead>
	<tr  class="info">
	<th class="col-md-1" ><strong>代码</strong></th>
	<th class="col-md-4" ><strong>NPS</strong></th>
	<th class="col-md-4" ><strong>描述</strong></th>
	<th class="col-md-1" ><strong>单位重量</strong></th>
	<th class="col-md-4" ><strong>单位达因</strong></th>
	</tr>
	</thead>
	
	<tbody>
	{shaps}
		<tr>
		<td>{code}</td>
		<td>{nps}</td>
		<td>{des}</td>
		<td>{unitw}</td>
		<td>{unitdi}</td>
		</tr>
	{/shaps}
	</tbody>
</table>

<script type="text/javascript">
	jQuery("#mytable").tablesorter();
</script>